import $http from '../../../servers/http';
import { Result } from '../../schema/Result';

/**解密 */
export const doPhoneTranslate = (data: {
  srcData: string;
  key: string;
}): Promise<
  Result<{
    destData: string;
  }>
> => {
  return $http.post({
    url: '/icms/callgroupmanager/decrypt',
    data,
  });
};
